package com.nue.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nue.pojo.BaseEntity;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wk
 * @since 2020-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Register extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String name;

    private Integer gender;

    private String idno;

    private LocalDate birthday;

    private Integer age;

    private String address;

    private Integer regsitLevelId;

    private Integer deptId;

    private Integer doctorId;

    private String readme;

    private String present;

    private String presentTreat;

    private String history;

    private String allergy;

    private Integer book;

    private BigDecimal fee;

    /**
     * ״̬
     */
    private Integer status;

    private Integer active;

    private LocalDateTime createtime;

    @TableField(exist = false)
    private String genderName;
    @TableField(exist = false)
    private String levelName ;
    @TableField(exist = false)
    private String deptName ;
    @TableField(exist = false)
    private String  doctorName;

    /**
     * 看诊时间
     */
    private LocalDate  visittime;

    /**
     * 确诊疾病
     */
    private String disease;
    /**
     * 诊疗方案
     */
    private String suit;
    /**
     * 药品清单
     */
    private String drug;


}
